var encounters = {
	checkEncounter : function() {
		heroLoc = hetja.getHeroLocation();
		kannskiEntity = map.entityAStad(heroLoc[0], heroLoc[1]);
		if(kannskiEntity == "S") {
			return viewBattle;
		} 
		else if(kannskiEntity == "Q") {
			return viewQuest;
		}
		else {
			return viewMap;
		}
		return -1;
	},
}
